package deliciouse.biz;

import java.util.Date;
import java.util.List;

import deliciouse.entity.News;

public interface NewsBiz {
	List<News> getall();
	List<News> fetchByDate(int pageNum,int pageSize);
	int MessageMaxRows();
	News fetchById(int id);
	List<News> fetchByCondition(String title);
	boolean updateNews(News news);
	boolean addnews(News news);
	boolean deletenews(int id);
}
